.center(@rw:center,@vl:center,@type:row){
  display: flex;
  justify-content: @rw;
  align-items:@vl;
  flex-direction: @type;
}

.all-product{
  position: relative;
  padding: 22px 15px;
  &-sidebar{
    .center(center,center,column);
    position: sticky;
    float: left;
    li {
      width: 161px;
      height: 81px;
      .center(center,center);
      background-color: RGBA(244, 244, 244, 1);
      border: 1px solid #e4e4e4;
      color: RGBA(102, 102, 102, 1);
      text-align: center;
      &.active{
        background-color: #BB3C40;
        color: #fff
      }
    }
  }
  .product-list{
    margin-left: 180px;
    box-sizing: border-box;
    color:#666666;
    border-radius: 5px;
    border:1px solid #e4e4e4;
    &-name{
      border-bottom: 1px solid #e4e4e4;
      padding: 31px 15px;
      font-size: 24px;
    }
    &-childname{
      ul{
        padding:0 15px 12px 15px;
        .center(flex-start,center);
        flex-wrap: wrap;
        li{
          text-align: center;
          margin-top: 15px;
          margin-right: 20px;
        }
        li:last-child{
          text-align: center;
          margin-top: 15px;
          margin-right: 0px;
        }

        .selected {
          color: #E4343A;
        }
      }
      border-bottom: 1px solid #e4e4e4;
    }
    &-order{
      padding: 18px 9px 0 9px;
      display: flex;
      >div{
        width: 107px;
        height: 36px;
        .center();
        font-size: 18px;
        border: 1px solid #e4e4e4;
        margin-right: 16px;
        border-radius: 5px;
        position: relative;
      }
      .type-show{
        color: #E4343A;
      }
      .order-type{
        &::after{
          content: '';
          display: inline-block;
          width: 0;
          height: 0;
          margin-left: 5px;
          vertical-align: middle;
          border-top: 5px dashed;
          border-top: 5px solid \9;
          border-right: 5px solid transparent;
          border-left: 5px solid transparent;
          position: absolute;
          right: 5px;
          top: 45%;
        }
      }
    }
    .am-list-footer {
      display: none;
    }
  }

  .product-loadall{
    padding: 50px 20px 80px 20px;
    >div{
      border: 1px solid #e4e4e4;
      .center(center,center);
      font-size: 28px;
      height: 85px;
      border-radius: 5px;
    }
  }
  .wrapper {
    position: relative;
    height: 630px;
    overflow: hidden;
  }

  .scroller {
    position: absolute;
    right: 0;
    left: 0;
  }
}